Size

public final static Size Size(Integer width, Integer height)
public final static Size Size(Integer width, Integer height)

Creates a new instance of Size with the given width and height.

Since

8.0.0

Parameters

width

The width value of the size.

height

The height value of the size.

Throws

if width or height is negative.